//
//  SessionManager.m
//  MMairs
//
//  Created by dongguozheng on 2017/2/23.
//  Copyright © 2017年 dongguozheng. All rights reserved.
//

#import "SessionManager.h"

@implementation SessionManager
+(instancetype)sharedSessionManager
{
    static SessionManager *session=nil;
    static dispatch_once_t onceToken;
    dispatch_once(&onceToken, ^{
        session=[[SessionManager alloc]init];
        AFHTTPSessionManager *manager = [AFHTTPSessionManager manager];
        session.manager=manager;
    });
    return session;
}
@end
